package com.zy.explore.frm;

import org.springframework.data.domain.Pageable;
import org.springframework.data.domain.Sort;

/**
 * description 用于描述 {@link Pageable} 的传输实体，可以直接转换为 {@link Pageable}
 *
 * @author ZY
 * @date 2021-05-05 18:02
 */
public interface PageableFrm {

    Pageable toPageable();

    Pageable toPageable(Sort sort);
}
